class UrlMappings {

    static mappings = {
        "/$controller/$action?/$id?" {
            constraints {
                // apply constraints here
            }
        }

        "/"(view: "/index")
        "/default"(view: "/default")

        "500"(view: '/errors/error500')
        "404"(view: '/errors/error404')
        "403"(view: '/errors/error403')
    }
}
